# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file '/home/sunshout/VRSim-0.1/src/VRSim/Ui/MainWindow.ui'
#
# Created: Fri Dec  4 09:57:22 2009
#      by: PyQt4 UI code generator 4.4.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(800, 700)
        font = QtGui.QFont()
        font.setFamily("Nimbus Sans L")
        font.setPointSize(11)
        MainWindow.setFont(font)
        MainWindow.setAcceptDrops(True)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/symbols/ktns.PNG"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        MainWindow.setWindowIcon(icon)
        self.centralWidget = QtGui.QWidget(MainWindow)
        self.centralWidget.setAcceptDrops(True)
        self.centralWidget.setObjectName("centralWidget")
        self.gridLayout = QtGui.QGridLayout(self.centralWidget)
        self.gridLayout.setObjectName("gridLayout")
        self.TopologyDesigner = TopologyDesigner(self.centralWidget)
        self.TopologyDesigner.setBaseSize(QtCore.QSize(0, 450))
        self.TopologyDesigner.setFocusPolicy(QtCore.Qt.WheelFocus)
        self.TopologyDesigner.setAcceptDrops(True)
        self.TopologyDesigner.setDragMode(QtGui.QGraphicsView.RubberBandDrag)
        self.TopologyDesigner.setObjectName("TopologyDesigner")
        self.gridLayout.addWidget(self.TopologyDesigner, 0, 0, 1, 1)
        MainWindow.setCentralWidget(self.centralWidget)
        self.dockWidget_NodeTypes = QtGui.QDockWidget(MainWindow)
        self.dockWidget_NodeTypes.setObjectName("dockWidget_NodeTypes")
        self.dockWidgetContents_NodeTypes = QtGui.QWidget()
        self.dockWidgetContents_NodeTypes.setObjectName("dockWidgetContents_NodeTypes")
        self.verticalLayout = QtGui.QVBoxLayout(self.dockWidgetContents_NodeTypes)
        self.verticalLayout.setObjectName("verticalLayout")
        self.nodesDock = NodesDock(self.dockWidgetContents_NodeTypes)
        self.nodesDock.setDragEnabled(False)
        self.nodesDock.setIconSize(QtCore.QSize(42, 42))
        self.nodesDock.setObjectName("nodesDock")
        self.nodesDock.headerItem().setText(0, "1")
        self.verticalLayout.addWidget(self.nodesDock)
        self.dockWidget_NodeTypes.setWidget(self.dockWidgetContents_NodeTypes)
        MainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(1), self.dockWidget_NodeTypes)
        self.dockWidget_Summary = QtGui.QDockWidget(MainWindow)
        self.dockWidget_Summary.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dockWidget_Summary.sizePolicy().hasHeightForWidth())
        self.dockWidget_Summary.setSizePolicy(sizePolicy)
        self.dockWidget_Summary.setMinimumSize(QtCore.QSize(150, 186))
        self.dockWidget_Summary.setObjectName("dockWidget_Summary")
        self.docWidgetcontents_Summary = QtGui.QWidget()
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.docWidgetcontents_Summary.sizePolicy().hasHeightForWidth())
        self.docWidgetcontents_Summary.setSizePolicy(sizePolicy)
        self.docWidgetcontents_Summary.setObjectName("docWidgetcontents_Summary")
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.docWidgetcontents_Summary)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.tabWidget_Summary = QtGui.QTabWidget(self.docWidgetcontents_Summary)
        self.tabWidget_Summary.setObjectName("tabWidget_Summary")
        self.tab_Summary = QtGui.QWidget()
        self.tab_Summary.setObjectName("tab_Summary")
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.tab_Summary)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.NodesSummary = NodesSummary(self.tab_Summary)
        self.NodesSummary.setObjectName("NodesSummary")
        self.NodesSummary.headerItem().setText(0, "1")
        self.verticalLayout_3.addWidget(self.NodesSummary)
        self.tabWidget_Summary.addTab(self.tab_Summary, "")
        self.tab_Event = QtGui.QWidget()
        self.tab_Event.setObjectName("tab_Event")
        self.horizontalLayout = QtGui.QHBoxLayout(self.tab_Event)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.NodesLog = NodesLog(self.tab_Event)
        self.NodesLog.setColumnCount(3)
        self.NodesLog.setObjectName("NodesLog")
        self.NodesLog.setColumnCount(3)
        self.NodesLog.setRowCount(0)
        self.horizontalLayout.addWidget(self.NodesLog)
        self.tabWidget_Summary.addTab(self.tab_Event, "")
        self.verticalLayout_2.addWidget(self.tabWidget_Summary)
        self.dockWidget_Summary.setWidget(self.docWidgetcontents_Summary)
        MainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(8), self.dockWidget_Summary)
        self.menuBar = QtGui.QMenuBar(MainWindow)
        self.menuBar.setGeometry(QtCore.QRect(0, 0, 800, 29))
        self.menuBar.setObjectName("menuBar")
        self.menu_File = QtGui.QMenu(self.menuBar)
        self.menu_File.setObjectName("menu_File")
        self.menu_Edit = QtGui.QMenu(self.menuBar)
        self.menu_Edit.setObjectName("menu_Edit")
        self.menu_View = QtGui.QMenu(self.menuBar)
        self.menu_View.setObjectName("menu_View")
        self.menu_Help = QtGui.QMenu(self.menuBar)
        self.menu_Help.setObjectName("menu_Help")
        MainWindow.setMenuBar(self.menuBar)
        self.toolBar = QtGui.QToolBar(MainWindow)
        self.toolBar.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
        self.toolBar.setObjectName("toolBar")
        MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
        self.toolBar_KT = QtGui.QToolBar(MainWindow)
        self.toolBar_KT.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.toolBar_KT.setMovable(False)
        self.toolBar_KT.setAllowedAreas(QtCore.Qt.RightToolBarArea)
        self.toolBar_KT.setIconSize(QtCore.QSize(150, 50))
        self.toolBar_KT.setFloatable(False)
        self.toolBar_KT.setObjectName("toolBar_KT")
        MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar_KT)
        self.statusBar = QtGui.QStatusBar(MainWindow)
        self.statusBar.setObjectName("statusBar")
        MainWindow.setStatusBar(self.statusBar)
        self.action_New_Project = QtGui.QAction(MainWindow)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/symbols/filenew.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.action_New_Project.setIcon(icon1)
        self.action_New_Project.setObjectName("action_New_Project")
        self.action_Open = QtGui.QAction(MainWindow)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/symbols/fileopen.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.action_Open.setIcon(icon2)
        self.action_Open.setObjectName("action_Open")
        self.action_Save = QtGui.QAction(MainWindow)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/symbols/filesave.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.action_Save.setIcon(icon3)
        self.action_Save.setObjectName("action_Save")
        self.actionSave_As = QtGui.QAction(MainWindow)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(":/symbols/filesaveas.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionSave_As.setIcon(icon4)
        self.actionSave_As.setObjectName("actionSave_As")
        self.action_Export = QtGui.QAction(MainWindow)
        self.action_Export.setObjectName("action_Export")
        self.action_Quit = QtGui.QAction(MainWindow)
        self.action_Quit.setObjectName("action_Quit")
        self.action_Hypervisors = QtGui.QAction(MainWindow)
        self.action_Hypervisors.setObjectName("action_Hypervisors")
        self.action_Symbol_Manager = QtGui.QAction(MainWindow)
        self.action_Symbol_Manager.setObjectName("action_Symbol_Manager")
        self.action_Preference = QtGui.QAction(MainWindow)
        self.action_Preference.setObjectName("action_Preference")
        self.actionZoom_In = QtGui.QAction(MainWindow)
        self.actionZoom_In.setObjectName("actionZoom_In")
        self.actionZoom_Out = QtGui.QAction(MainWindow)
        self.actionZoom_Out.setObjectName("actionZoom_Out")
        self.actionZoom_1_1 = QtGui.QAction(MainWindow)
        self.actionZoom_1_1.setObjectName("actionZoom_1_1")
        self.actionNode_Types = QtGui.QAction(MainWindow)
        self.actionNode_Types.setCheckable(True)
        self.actionNode_Types.setChecked(True)
        self.actionNode_Types.setObjectName("actionNode_Types")
        self.actionSummary = QtGui.QAction(MainWindow)
        self.actionSummary.setCheckable(True)
        self.actionSummary.setChecked(True)
        self.actionSummary.setObjectName("actionSummary")
        self.action_Online_Help = QtGui.QAction(MainWindow)
        self.action_Online_Help.setObjectName("action_Online_Help")
        self.action_About = QtGui.QAction(MainWindow)
        self.action_About.setObjectName("action_About")
        self.action_Start = QtGui.QAction(MainWindow)
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(":/symbols/Start.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.action_Start.setIcon(icon5)
        self.action_Start.setObjectName("action_Start")
        self.action_Suspend = QtGui.QAction(MainWindow)
        icon6 = QtGui.QIcon()
        icon6.addPixmap(QtGui.QPixmap(":/symbols/Suspend.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.action_Suspend.setIcon(icon6)
        self.action_Suspend.setObjectName("action_Suspend")
        self.action_Stop = QtGui.QAction(MainWindow)
        icon7 = QtGui.QIcon()
        icon7.addPixmap(QtGui.QPixmap(":/symbols/Stop.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.action_Stop.setIcon(icon7)
        self.action_Stop.setObjectName("action_Stop")
        self.action_Snapshot = QtGui.QAction(MainWindow)
        icon8 = QtGui.QIcon()
        icon8.addPixmap(QtGui.QPixmap(":/symbols/snapshot.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.action_Snapshot.setIcon(icon8)
        self.action_Snapshot.setObjectName("action_Snapshot")
        self.action_Add_link = QtGui.QAction(MainWindow)
        self.action_Add_link.setCheckable(True)
        icon9 = QtGui.QIcon()
        icon9.addPixmap(QtGui.QPixmap(":/symbols/Lan.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.action_Add_link.setIcon(icon9)
        self.action_Add_link.setObjectName("action_Add_link")
        self.actionKT = QtGui.QAction(MainWindow)
        icon10 = QtGui.QIcon()
        icon10.addPixmap(QtGui.QPixmap(":/symbols/config/kt.JPG"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionKT.setIcon(icon10)
        self.actionKT.setObjectName("actionKT")
        self.action_Font = QtGui.QAction(MainWindow)
        self.action_Font.setObjectName("action_Font")
        self.action_English = QtGui.QAction(MainWindow)
        self.action_English.setCheckable(True)
        self.action_English.setObjectName("action_English")
        self.action_Korean = QtGui.QAction(MainWindow)
        self.action_Korean.setCheckable(True)
        self.action_Korean.setChecked(True)
        self.action_Korean.setObjectName("action_Korean")
        self.action_Update = QtGui.QAction(MainWindow)
        self.action_Update.setObjectName("action_Update")
        self.menu_File.addAction(self.action_New_Project)
        self.menu_File.addAction(self.action_Open)
        self.menu_File.addAction(self.action_Save)
        self.menu_File.addAction(self.actionSave_As)
        self.menu_File.addSeparator()
        self.menu_File.addAction(self.action_Export)
        self.menu_File.addSeparator()
        self.menu_File.addAction(self.action_Quit)
        self.menu_Edit.addAction(self.action_Hypervisors)
        self.menu_Edit.addAction(self.action_Symbol_Manager)
        self.menu_Edit.addSeparator()
        self.menu_Edit.addAction(self.action_Font)
        self.menu_Edit.addSeparator()
        self.menu_Edit.addAction(self.action_Preference)
        self.menu_View.addAction(self.actionZoom_In)
        self.menu_View.addAction(self.actionZoom_Out)
        self.menu_View.addAction(self.actionZoom_1_1)
        self.menu_View.addSeparator()
        self.menu_View.addAction(self.actionNode_Types)
        self.menu_View.addAction(self.actionSummary)
        self.menu_Help.addAction(self.action_Update)
        self.menu_Help.addSeparator()
        self.menu_Help.addAction(self.action_Online_Help)
        self.menu_Help.addAction(self.action_About)
        self.menuBar.addAction(self.menu_File.menuAction())
        self.menuBar.addAction(self.menu_Edit.menuAction())
        self.menuBar.addAction(self.menu_View.menuAction())
        self.menuBar.addAction(self.menu_Help.menuAction())
        self.toolBar.addAction(self.action_New_Project)
        self.toolBar.addAction(self.action_Open)
        self.toolBar.addAction(self.action_Save)
        self.toolBar.addAction(self.actionSave_As)
        self.toolBar.addSeparator()
        self.toolBar.addAction(self.action_Start)
        self.toolBar.addAction(self.action_Suspend)
        self.toolBar.addAction(self.action_Stop)
        self.toolBar.addSeparator()
        self.toolBar.addAction(self.action_Add_link)
        self.toolBar.addAction(self.action_Snapshot)
        self.toolBar.addSeparator()
        self.toolBar_KT.addAction(self.actionKT)

        self.retranslateUi(MainWindow)
        self.tabWidget_Summary.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "KT-VNS (KT-Virtual Network Simulator)", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget_Summary.setTabText(self.tabWidget_Summary.indexOf(self.tab_Summary), QtGui.QApplication.translate("MainWindow", "&Summary", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget_Summary.setTabText(self.tabWidget_Summary.indexOf(self.tab_Event), QtGui.QApplication.translate("MainWindow", "&Event Log", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_File.setTitle(QtGui.QApplication.translate("MainWindow", "&File", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_Edit.setTitle(QtGui.QApplication.translate("MainWindow", "&Edit", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_View.setTitle(QtGui.QApplication.translate("MainWindow", "&View", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_Help.setTitle(QtGui.QApplication.translate("MainWindow", "&Help", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBar.setWindowTitle(QtGui.QApplication.translate("MainWindow", "toolBar", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBar_KT.setWindowTitle(QtGui.QApplication.translate("MainWindow", "toolBar_KT", None, QtGui.QApplication.UnicodeUTF8))
        self.action_New_Project.setText(QtGui.QApplication.translate("MainWindow", "&New", None, QtGui.QApplication.UnicodeUTF8))
        self.action_New_Project.setIconText(QtGui.QApplication.translate("MainWindow", "&New", None, QtGui.QApplication.UnicodeUTF8))
        self.action_New_Project.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+N", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Open.setText(QtGui.QApplication.translate("MainWindow", "&Open", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Open.setIconText(QtGui.QApplication.translate("MainWindow", "&Open", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Open.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+O", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Save.setText(QtGui.QApplication.translate("MainWindow", "&Save", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Save.setIconText(QtGui.QApplication.translate("MainWindow", "&Save", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Save.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+S", None, QtGui.QApplication.UnicodeUTF8))
        self.actionSave_As.setText(QtGui.QApplication.translate("MainWindow", "Save &As", None, QtGui.QApplication.UnicodeUTF8))
        self.actionSave_As.setIconText(QtGui.QApplication.translate("MainWindow", "Save &As", None, QtGui.QApplication.UnicodeUTF8))
        self.actionSave_As.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+A", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Export.setText(QtGui.QApplication.translate("MainWindow", "&Export", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Quit.setText(QtGui.QApplication.translate("MainWindow", "&Quit", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Hypervisors.setText(QtGui.QApplication.translate("MainWindow", "&Hypervisors", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Symbol_Manager.setText(QtGui.QApplication.translate("MainWindow", "&Symbol Manager", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Preference.setText(QtGui.QApplication.translate("MainWindow", "&Preference", None, QtGui.QApplication.UnicodeUTF8))
        self.actionZoom_In.setText(QtGui.QApplication.translate("MainWindow", "Zoom &In", None, QtGui.QApplication.UnicodeUTF8))
        self.actionZoom_Out.setText(QtGui.QApplication.translate("MainWindow", "Zoom &Out", None, QtGui.QApplication.UnicodeUTF8))
        self.actionZoom_1_1.setText(QtGui.QApplication.translate("MainWindow", "Zoom &1:1", None, QtGui.QApplication.UnicodeUTF8))
        self.actionNode_Types.setText(QtGui.QApplication.translate("MainWindow", "Node Types", None, QtGui.QApplication.UnicodeUTF8))
        self.actionSummary.setText(QtGui.QApplication.translate("MainWindow", "Summary", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Online_Help.setText(QtGui.QApplication.translate("MainWindow", "&Online Help", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Online_Help.setToolTip(QtGui.QApplication.translate("MainWindow", "Online Help", None, QtGui.QApplication.UnicodeUTF8))
        self.action_About.setText(QtGui.QApplication.translate("MainWindow", "&About", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Start.setText(QtGui.QApplication.translate("MainWindow", "Start", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Start.setToolTip(QtGui.QApplication.translate("MainWindow", "Start All Routers", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Suspend.setText(QtGui.QApplication.translate("MainWindow", "Suspend", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Suspend.setToolTip(QtGui.QApplication.translate("MainWindow", "Suspend All Routers", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Stop.setText(QtGui.QApplication.translate("MainWindow", "Stop", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Stop.setToolTip(QtGui.QApplication.translate("MainWindow", "Stop All Routers", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Snapshot.setText(QtGui.QApplication.translate("MainWindow", "Snapshot", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Add_link.setText(QtGui.QApplication.translate("MainWindow", "Add link", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Add_link.setToolTip(QtGui.QApplication.translate("MainWindow", "Add link", None, QtGui.QApplication.UnicodeUTF8))
        self.actionKT.setText(QtGui.QApplication.translate("MainWindow", "KT", None, QtGui.QApplication.UnicodeUTF8))
        self.actionKT.setToolTip(QtGui.QApplication.translate("MainWindow", "Olleh KT", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Font.setText(QtGui.QApplication.translate("MainWindow", "&Font", None, QtGui.QApplication.UnicodeUTF8))
        self.action_English.setText(QtGui.QApplication.translate("MainWindow", "&English", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Korean.setText(QtGui.QApplication.translate("MainWindow", "&Korean", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Update.setText(QtGui.QApplication.translate("MainWindow", "&Update", None, QtGui.QApplication.UnicodeUTF8))

from NodesLog import NodesLog
from TopologyDesigner import TopologyDesigner
from NodesSummary import NodesSummary
from NodesDock import NodesDock
import Resource_rc

if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    MainWindow = QtGui.QMainWindow()
    ui = Ui_MainWindow()
    ui.setupUi(MainWindow)
    MainWindow.show()
    sys.exit(app.exec_())

